package lib.hj.com.commonlib.utils;

import com.google.gson.JsonObject;
import com.zhy.http.okhttp.OkHttpUtils;

import org.json.JSONObject;

import java.util.Map;

/**
 * author:dyz
 * 网络请求封装
 * Created by Cola on 15/10/8.
 */

public class Req {
    //实例化的Bean
    public Class cls;
    //请求的Url
    public String url;
    //请求的类型，参考 Method 枚举类型，默认GET
    public Constant.Method method;
    //回调 非必须
    public OnAsyncHttpResponse onAsynHttp;
    //请求参数 非必须
    public Map<String,String>parameter;
    public String postData = "";
    public long key ;
    public boolean isMoni = false;
}
